package com.dy.lock.screen.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.lock.screen.dao.HomePageRecomListShopMaterialRelationDao;
import com.dy.lock.screen.pojo.HomePageRecomListShopMaterialInfo;
import com.dy.lock.screen.service.HomePageRecomListShopMaterialRelationService;

@Service("homePageRecomListShopMaterialRelationService")
public class HomePageRecomListShopMaterialRelationServiceImpl implements
		HomePageRecomListShopMaterialRelationService {

	@Resource(name = "homePageRecomListShopMaterialRelationDao")
	private HomePageRecomListShopMaterialRelationDao homePageRecomListShopMaterialRelationDao;

	@Override
	public List<String> queryMaterialIdByRid(String rid) {
		// TODO Auto-generated method stub
		return this.homePageRecomListShopMaterialRelationDao
				.queryMaterialIdByRid(rid);
	}

	@Override
	public HomePageRecomListShopMaterialInfo queryByParameters(
			HomePageRecomListShopMaterialInfo parameters) {
		// TODO Auto-generated method stub
		return this.homePageRecomListShopMaterialRelationDao
				.queryByParameters(parameters);
	}

	@Override
	public List<String> queryMaterialIdByLid(String lid) {
		// TODO Auto-generated method stub
		return this.homePageRecomListShopMaterialRelationDao
				.queryMaterialIdByLid(lid);
	}

	@Override
	public List<String> queryMaterialIdBySid(String sid) {
		// TODO Auto-generated method stub
		return this.homePageRecomListShopMaterialRelationDao
				.queryMaterialIdBySid(sid);
	}

	@Override
	public List<HomePageRecomListShopMaterialInfo> queryListByRidOrLidOrSid(
			HomePageRecomListShopMaterialInfo rela) {
		// TODO Auto-generated method stub
		return this.homePageRecomListShopMaterialRelationDao
				.queryListByRidOrLidOrSid(rela);
	}

	@Override
	public List<HomePageRecomListShopMaterialInfo> queryPage(
			Map<String, Object> paramMap) {
		// TODO Auto-generated method stub
		return this.homePageRecomListShopMaterialRelationDao.queryT(paramMap);
	}

}
